package con.shopping.entity;

import java.util.Date;

/**
 * @author ：河神
 * @date ：Created in 2022/2/14 8:26 下午
 */
public class Active {


    public Active(ActiveTime activeTime) {
        this.activeTime = activeTime;
    }

    /**
     * 活动时间
     */
    private ActiveTime activeTime;

    public boolean effective(Date date){
        return activeTime.effective(date);
    }

}
